package com.his.entity;

import com.his.common.Const;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.List;

/**
 * (Ward)实体类
 *
 * @author makejava
 * @since 2020-10-23 18:15:12
 */
@Data
public class Ward implements Serializable {
    private static final long serialVersionUID = 143987337798067346L;
    /**
     * 主键
     */
    @NotNull(groups = Const.Update.class, message = "wardId不能为空")
    private Integer id;
    /**
     * 病房id 编号科室简称打头
     */
    private String wardNo;

    private List<Bed> bedList;
    /**
     * 病房类型:0-普通病房4-6人间
     * 1-高级病房2-3人间
     * 2-特护病房1人间
     */
    private String wardType;
    /**
     * 病房单价：0-80/d
     * 1-120/d
     * 2-300/d
     */

    private Double wardPrice;
    /**
     * 病房状态：0-满 1-空余 2-维善
     */
    private String wardStatus;
    /**
     * 科室id外键
     */
    private Integer depId;
    /**
     * 是否删除，0-否，1-是
     */
    private Integer isDelete;

}
